﻿using DotNetNuke.Common;

namespace HeroldIT.Dnn.Modules.News.Views
{
    public class NewsCore : MLPortalModuleBase
    {
        #region page lifecycle

        protected override void Render(System.Web.UI.HtmlTextWriter output)
        {
            if (this.IsEditable)
            {
                output.Write("<a href=\"{0}\">Edit News settings</a>", Globals.NavigateURL(this.TabId, "Module", new[] { "ModuleId=" + this.ModuleId }));
            }
        }

        #endregion
    }
}
